#include "../mqserver/mq_connection.hpp"

int main()
{
    zlrmq::ConnectionManager::ptr cmp = std::make_shared<zlrmq::ConnectionManager>();

    cmp->newConnection(std::make_shared<zlrmq::VirtualHost>("host1", "./data/host1/message/", "./data/host1/host1.db"),
                       std::make_shared<zlrmq::ConsumerManager>(),
                       zlrmq::ProtobufCodecPtr(),
                       muduo::net::TcpConnectionPtr(),
                       threadpool::ptr());
    return 0;
}